package com.yanqu.road.entity.activity.jiuzhou;

import com.yanqu.road.entity.DataObject;
import com.yanqu.road.entity.FieldTypeAnnotation;
import com.yanqu.road.entity.player.UserBaseInfo;

import java.util.List;
import java.util.Map;

/**
 * 九州活动历届冠军数据
 */

@FieldTypeAnnotation(tableName = "t_u_jiu_zhou_activity_champion_data",desc = "九州活动历届冠军数据")
public class JiuZhouActivityChampionData extends DataObject {
    @FieldTypeAnnotation(desc = "活动ID", select = true ,update = true)
    private int activityId;                                     //活动id
    @FieldTypeAnnotation(desc = "冠军数据")
    private Map<Integer, JiuZhouChampionUserData> championMap;             //各个赛区的冠军
    @FieldTypeAnnotation(desc = "参与活动的服务器列表")
    private List<Long> serverIdList;                         //参与活动的服务器列表
    @FieldTypeAnnotation(desc = "时间")
    private long time;                                          //时间

    public int getActivityId() {
        return activityId;
    }

    public void setActivityId(int activityId) {
        this.activityId = activityId;
    }

    public Map<Integer, JiuZhouChampionUserData> getChampionMap() {
        return championMap;
    }

    public void setChampionMap(Map<Integer, JiuZhouChampionUserData> championMap) {
        this.championMap = championMap;
    }

    public long getTime() {
        return time;
    }

    public void setTime(long time) {
        this.time = time;
    }

    public List<Long> getServerIdList() {
        return serverIdList;
    }

    public void setServerIdList(List<Long> serverIdList) {
        this.serverIdList = serverIdList;
    }

    public JiuZhouActivityChampionData(int activityId, Map<Integer, JiuZhouChampionUserData> championMap, List<Long> serverIdList, long time) {
        this.activityId = activityId;
        this.championMap = championMap;
        this.serverIdList = serverIdList;
        this.time = time;
    }

    public JiuZhouActivityChampionData() {
    }
}
